home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
002a
/
be310.zip
/
HEXKEY.CHS
< prev
next >
Wrap
Text File
|
1993-06-01
|
468b
|
15 lines
/* CHESS FUNCTION(S): HEXKEY.CHS -- standalone program
/* DATE: 3/1/93
/* AUTHOR: C. Schanck
/*
/* DESCRIPTION: this routine functions the same as HEXKEY.COM;
/* it displays the hex and decimal value of a keystroke.
{
int i;
msg("Press any key ... (Escape exits)");
i=getkey();
while((i%256)!=27){
msg("Value is %04lx [%06ld] ... Press another key ... (Escape exits)",i,i)
i=getkey();
}
}